package org.example.Command.Case3;

/**
 * 命令执行者
 */
public class Invoker {
    private Command command;
    public void setCommand(Command command){
        this.command = command;
    }

    public void action(){
        this.command.excute();
    }
}
